﻿namespace Microsoft.Cloud.API.Azure.Models
{
    public class VMCreationModel
    {
        /// <summary>
        /// 虚拟机名称
        /// </summary>
        public string VMName { get; set; }

        /// <summary>
        /// 虚拟机大小配置
        /// </summary>
        public string VMSize { get; set; }

        /// <summary>
        /// 镜像名称
        /// </summary>
        public string ImageName { get; set; }

        /// <summary>
        /// 虚拟机登录用户名
        /// </summary>
        public string AdminUserName { get; set; }

        /// <summary>
        /// 虚拟机登录密码
        /// </summary>
        public string AdminPassword { get; set; }

        /// <summary>
        /// https://docs.microsoft.com/zh-cn/azure/virtual-machines/windows/manage-availability?toc=%2Fazure%2Fvirtual-machines%2Fwindows%2Ftoc.json
        /// 可用性集
        /// 创建虚拟机时：可用性选项-->选择可用性集-->下面就出现“可用性集”字段-->选择可用性集，如果没有需要创建可用性集
        /// </summary>
        public string AvailabilitySetName { get; set; }

        /// <summary>
        /// 好像是qdlsvpn.eastus.cloudapp.azure.com
        /// </summary>
        public string CloudServiceName { get; set; }

        /// <summary>
        /// 存储帐户名称
        /// https://portal.azure.com/#blade/HubsExtension/Resources/resourceType/Microsoft.Storage%2FStorageAccounts
        /// </summary>
        public string StorageAccountName { get; set; }
    }
}